{extend name="public/base"/}
{block name="style"}

<link rel="stylesheet" href="__PUBLIC__/plugs/tagsinput/bootstrap-tagsinput.css">
<script src="__PUBLIC__/plugs/tagsinput/bootstrap-tagsinput.js"></script>

<link rel="stylesheet" type="text/css" href="__PUBLIC__/plugs/webuploader/webuploader.css">
<!-- 配置文件 -->
<script type="text/javascript" src="__PUBLIC__/plugs/ueditor/ueditor.config.js"></script>
<!-- 编辑器源码文件 -->
<script type="text/javascript" src="__PUBLIC__/plugs/ueditor/ueditor.all.min.js"></script>
<!-- datepicker statr -->
<link href="__PUBLIC__/plugs/datepicker/css/foundation-datepicker.min.css" rel="stylesheet" type="text/css">
<script src="__PUBLIC__/plugs/datepicker/js/foundation-datepicker.js"></script>
<link rel="stylesheet" type="text/css" href="__PUBLIC__/plugs/board/board.min.css">
<!-- datepicker end -->
{/block}
{block name="body"}
<div class="main-box clearfix">
	<header class="main-box-header clearfix">
		<div class="pull-left">
			<h2>{$meta_title}</h2>
		</div>
	</header>
	<div class="main-box-body clearfix">
		<form method="post" class="form form-horizontal">
			{if $Think.session.user_auth.group == 999}
				<input type="hidden" name="is_top" value="1">
			{/if}
			{if $info.is_top == 1}
				<input type="hidden" name="s_uid" value="{$info.uid}">
				<input type="hidden" name="group" value="4">
			{else}
				<input type="hidden" name="s_uid" value="0">
				<input type="hidden" name="group" value="3">
			{/if}
				
				<div class="form-group">
				<label class="col-lg-2 control-label">用户名</label>
				<div class="col-lg-10 col-sm-10">
							<input type="text" class="form-control" name="username" id="username" autocomplete="false" value="">
						<div class="help-block">用户名会作为默认的昵称</div>
				</div>
			</div>
						<div class="form-group">
				<label class="col-lg-2 control-label">密码</label>
				<div class="col-lg-10 col-sm-10">
							<input type="password" class="form-control" name="password" id="password" autocomplete="false" value="">
						<div class="help-block">用户密码不能少于6位</div>
				</div>
			</div>
						<div class="form-group">
				<label class="col-lg-2 control-label">确认密码</label>
				<div class="col-lg-10 col-sm-10">
							<input type="password" class="form-control" name="repassword" id="repassword" autocomplete="false" value="">
						<div class="help-block">确认密码</div>
				</div>
			</div>
						<div class="form-group">
				<label class="col-lg-2 control-label">邮箱</label>
				<div class="col-lg-10 col-sm-10">
							<input type="text" class="form-control" name="email" id="email" autocomplete="false" value="">
						<div class="help-block">用户邮箱，用于找回密码等安全操作</div>
				</div>
			</div>
			
			<div class="form-group">
				<div class="col-lg-offset-2 col-lg-10">
					<input type="hidden" name="id" value="">            
					<button class="btn btn-success submit-btn ajax-post" type="submit" target-form="form-horizontal">确 定</button>
					<button class="btn btn-danger btn-return" onclick="javascript:history.back(-1);return false;">返 回</button>
				</div>
			</div>
		</form>

	</div>
</div>
{/block}
{block name="script"}
<script type="text/javascript" src="__PUBLIC__/plugs/webuploader/webuploader.min.js"></script>
<script type="text/javascript" src="__PUBLIC__/plugs/webuploader/webuploader.custom.js"></script>
<script type="text/javascript" src="__PUBLIC__/js/droppable.js"></script>
<script type="text/javascript" src="__PUBLIC__/plugs/board/board.min.js"></script>
{/block}